package com.buyinglist.app.view;

import com.buyinglist.app.domain.User;
import com.buyinglist.app.domain.Family;

public class FamilyView {

	private Integer id;
	private String name;
	private User user;
	
	public FamilyView(Family f) {
		this.id = f.getId();
		this.name = f.getName();
		this.user = f.getUser();
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	
	
}
